package structs

type UserInfo struct {
	NickName string
	Gender int
	City string
	Province string
	Country string
	AvatarUrl string
	Language string
	Code string
	Iv string
	EncryptedData string
}

type UnionIdBody struct {
	Session_key string
	Openid     string
}

type WxUserInfo struct {
	id int64 `json:"Id"`
	OpenID    string `json:"openId"`
	UnionID   string `json:"unionId"`
	NickName  string `json:"nickName"`
	Gender    int    `json:"gender"`
	City      string `json:"city"`
	Province  string `json:"province"`
	Country   string `json:"country"`
	AvatarURL string `json:"avatarUrl"`
	Language  string `json:"language"`
	Watermark struct {
		Timestamp int64  `json:"timestamp"`
		AppID     string `json:"appid"`
	} `json:"watermark"`
}

type userQueryStruct struct {
	Id int64
	UserInfoflod int64
	QueryType int
	QueryCondition string
	//CreatorId int64
	//Creator string
	//CreatorIp string
	//CreateTime string

}

type userquerydetailsStruct struct {
	Id int
	UserQueryId int
	MonthBegin int
	MonthEnd int
	Salary float64
	HousingFundBase float64
	HousingFundRate float64
	SocialFundBase float64
	SocialFundRate float64
	ChildrenCount int
	ChildrenEducation float64
	SelfEducation float64
	SeriousIllness float64
	HousingLoanInterest float64
	HousingRent float64
	SiblingsCount float64
	ParentsSupport float64
}
// none
// swagger:response history
type ReturnHistorystruct struct{
	// The response information
	// in: body
	//
	QueryType int
	CreateTime string
	Total float64
	QueryCondition string
	Id string
}

type  ReturnUserInFo struct {
	Id string
	Nickname string
}
